from openpyxl import load_workbook
from openpyxl.styles import Font
workbook = load_workbook('F:\\python\\第5章\\出库表2.xlsx')
worksheet = workbook['Sheet1']
cell = worksheet['A1']
cell.font = Font(name='微软雅黑', size=15, bold=True, italic=True, color='FF0000')
workbook.save('F:\\python\\第5章\\出库表3.xlsx')
